import {
	apiResquest
} from '@/utils/Http.js'

export const healthCardList = params => {
	return apiResquest({
		url: "/a/adm/patientCard/healthCardList",
		method: "post",
		data: params
	});
};
export const addHealthCard = params => {
	return apiResquest({
		url: "/a/adm/patientCard/addHealthCard",
		method: "post",
		data: params
	});
};
export const addRecord = params => {
	return apiResquest({
		// url: "/api/patient/weixinCode?code="+params.code,
		url: "/a/adm/patientCard/record",
		method: "post",
		data: params
	});
};
export const updateRecord = params => {
	return apiResquest({
		// url: "/api/patient/weixinCode?code="+params.code,
		url: "/a/adm/patientCard/update",
		method: "post",
		data: params
	});
};
export const updatePatientCardCampus = params => {
	return apiResquest({
		url: "/a/adm/patientCard/updateCampus",
		method: "post",
		data: params
	});
};
export const updateHealthInfo = params => {
	return apiResquest({
		url: "/a/adm/patientCard/updateHealthInfo",
		method: "post",
		data: params
	});
};